﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;

namespace ProTrack.Entity
{
    public  class OrderQuote
    {
        /// <summary>
        /// 报价单ID
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 报价单编号，例如：2024-04-25-001
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 客户编号
        /// </summary>
        public string CustomerNumber { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string CustomerContact { get; set; }

        /// <summary>
        /// 联系人电话
        /// </summary>
        public string CustomerContactTel { get; set; }

        /// <summary>
        /// 报价人员工ID
        /// </summary>
        public string EmployeesId { get; set; }
        public string EmployeesName { get; set; }

        /// <summary>
        /// 交货日期
        /// </summary>
        public DateTime DeliveryTime { get; set; }

        /// <summary>
        /// 出货仓ID
        /// </summary>
        public long WarehouseId { get; set; }
        public string WarehouseName { get; set; }

        /// <summary>
        /// 交货地址
        /// </summary>
        public string DeliveryLocation { get; set; }

        /// <summary>
        /// 付款方式
        /// </summary>
        public string PaymentCategory { get; set; }

        /// <summary>
        /// 付款账户
        /// </summary>
        public string PaymentAccount { get; set; }

        /// <summary>
        /// 付款日期
        /// </summary>
        public DateTime PaymentTime { get; set; }

        /// <summary>
        /// 运输方式：公路运输、铁路运输、水路运输、航空运输
        /// </summary>
        public string Transfer { get; set; }

        /// <summary>
        /// 总价
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 优惠
        /// </summary>
        public decimal DisCount { get; set; }

        /// <summary>
        /// 报价单状态：0草稿 1已确认 2已作废
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 创建者
        /// </summary>
        public string Creator { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 修改者
        /// </summary>
        public string Updater { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }

    }
}
